package com.snake.springboot.custom.api.model.common;


/**
 * <p>键值模型
 * 类{@code KeyVal} </br>
 * 创建时间2025/2/21 18:08
 * @author yangxt
 * @see
 */
public class KeyVal<K,V> {
    private K key;
    private V value;

    public KeyVal(K key, V value) {
        this.key = key;
        this.value = value;
    }

    public KeyVal() {
    }

    public K getKey() {
        return key;
    }

    public void setKey(K key) {
        this.key = key;
    }

    public V getValue() {
        return value;
    }

    public void setValue(V value) {
        this.value = value;
    }
}
